<?php


//
$time_start = microtime();

for($i = 1; $i < 100; $i ++) {
	$conn = mysql_connect ( "localhost", "root", "root" );

mysql_select_db ( "memteset" );
mysql_query ( "set names 'utf8'" );
$query = "select * from goods where id = 3";
	$result = mysql_query ( $query );
	while ( $row = mysql_fetch_object ( $result ) ) {
//		print_r($row);
	}

}
$time_end = microtime();
echo '</br>';
echo $time_end - $time_start;
//while ($row = mysql_fetch_assoc($result)) {
//	print_r($row);
//	$mem->set('goods_' . $row['id'], $row, 0, 0);
//}

